<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="css/metalink.css" />
		<link rel="stylesheet" type="text/css" href="css/forms.css" />
		<link rel="stylesheet" type="text/css" href="css/options.css" />
		<script type="text/javascript" src="js/OptionsController.js"></script>
		<title message="options_title">Options</title>
	</head>
	<body class="options">
		<div id="optionsView" class="vignette">
			<div class="vignetteContent">
				<div id="optionsHeader"><a href="http://www.metalinker.org/"><img id="logo" src="images/metalink_newlogo_only.png"/></a></div>
				<form name="optionsForm" class="optionsForm" action="#">
				<div id="optionsContainer">
					<h2 message="options_title">Options</h2>
					<table class="simpleOptions">
						<tr id="notificationsContainer">
							<td>
							<label for="clipNotificationEnabled" message="options_clipNotificationEnabled">Enable SaveAs</label>
							</td>
							<td>
							<input type="checkbox" id="metalinkSaveAsEnabled" name="metalinkSaveAsEnabled" />
							<label for="metalinkSaveAsEnabled" class='optionsDescription'  message="options_clipNotificationEnabledDescription">When enabled, you will be prompted to choose the download location for the file to be downloaded. If not, the downloads get saved to your default download location.</label>
							</td>
						</tr>
						<tr id="clipStyleContainer">
						    <td>
						      <label for="clipStyle" message="options_clipStyle">Downloads Per Server</label>
						    </td>
						    <td>
						      <select id="metalinkDownloadsPerServer" name="clipStyle">
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4">4</option>
							<option value="5">5</option>
							<option value="6">6</option>
							<option value="7">7</option>
							<option value="8">8</option>
							<option value="9">9</option>
							<option value="10">10</option>
						      </select>
							<div class='optionsDescription'>This sets of the number of simultaneous connections to the server. More connections take more processing power, but download at a faster rate. </div>
						    </td>
						  </tr>
						  <tr id="clipStyleContainer">
						    <td>
						      <label for="clipStyle" message="options_clipStyle">Maximum Concurrent Downloads</label>
						    </td>
						    <td>
						      <select id="metalinkConcurrentDownloads" name="clipStyle">
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4">4</option>
							<option value="5">5</option>
						      </select>
							<div class='optionsDescription'>This sets of the number of files that can be downloaded simultaneously. Each download requires atleast one thread to download files. This option requires restart.</div>
						    </td>
						  </tr>
						  <tr id="clipStyleContainer">
						    <td>
						      <label for="clipStyle" message="options_clipStyle">Chunk Size</label>
						    </td>
						    <td>
						      <select id="metalinkChunkSize" name="clipStyle">
							<option value="256">256 kB</option>
							<option value="512">512 kB</option>
							<option value="1024">1024 kB</option>
							<option value="2048">2048 kB</option>
						      </select>
							<div class='optionsDescription'>This sets the size of the chunks to be downloaded in parallel.</div>
						    </td>
						  </tr>
					</table>
				</div>
				<div>
					<a href="http://metalinker.org/" target = "_blank">Metalinks</a><br>
						<span class="optionsDescription" message="options_eventLogDescription">If you are in need of support or want to report bugs, you may post them <a href="http://code.google.com/p/metalink-chrome-extension/issues/list" target = "_blank">here</a>.</span>
				</div>
				<div id="versionInfo" message="options_buildId">Version Number: 0.5.3</div>
				</form>
			</div>
		</div>
		<div class="copyright" message="copyright">@ 2012, Metalink Foundation.</div>
	</body>
</html>
